package com.hrg.seer.sdk.rbk.api;

import lombok.Getter;

@Getter
public enum ConfigApiEnum {
	// 机器人配置API（端口：19207）
	ROBOT_CONFIG_LOCK_REQ(4005, "抢占控制权", 19207),
	ROBOT_CONFIG_UNLOCK_REQ(4006, "释放控制权", 19207),
	ROBOT_CONFIG_CLEARALLERRORS_REQ(4009, "清除机器人当前所有报错", 19207),
	ROBOT_CONFIG_UPLOADMAP_REQ(4010, "上传地图到机器人", 19207),
	ROBOT_CONFIG_DOWNLOADMAP_REQ(4011, "从机器人下载地图", 19207),
	ROBOT_CONFIG_REMOVEMAP_REQ(4012, "删除机器人上的地图", 19207),
	ROBOT_CONFIG_UPLOADSCRIPT_REQ(4021, "上传机器人脚本", 19207),
	ROBOT_CONFIG_DOWNLOADSCRIPT_REQ(4022, "下载机器人脚本", 19207),
	ROBOT_CONFIG_REMOVESCRIPT_REQ(4023, "删除机器人脚本", 19207),
	ROBOT_CONFIG_PUSH_REQ(4091, "配置机器人推送端口", 19207),
	ROBOT_CONFIG_SETPARAMS_REQ(4100, "临时修改机器人参数", 19207),
	ROBOT_CONFIG_SAVEPARAMS_REQ(4101, "永久修改机器人参数", 19207),
	ROBOT_CONFIG_RELOADPARAMS_REQ(4102, "恢复机器人参数为默认值", 19207),
	ROBOT_CONFIG_ULTRASONIC_REQ(4130, "配置超声", 19207),
	ROBOT_CONFIG_DI_REQ(4140, "配置 DI", 19207),
	ROBOT_CONFIG_MOTOR_CALIB_REQ(4150, "电机标零", 19207),
	ROBOT_CONFIG_MOTOR_CLEAR_FAULT_REQ(4151, "电机清错", 19207),
	ROBOT_CONFIG_MODEL_REQ(4200, "上传模型文件到机器人", 19207),
	ROBOT_CONFIG_CALIB_PUSH_DATA_REQ(4201, "设置标定过程数据", 19207),
	ROBOT_CONFIG_CALIB_CONFIRM_REQ(4202, "确认标定数据", 19207),
	ROBOT_CONFIG_CALIB_CLEAR_REQ(4203, "根据标定类型清除标定数据", 19207),
	ROBOT_CONFIG_CALIB_CLEAR_ALL_REQ(4209, "清空 robot.cp 文件", 19207),
	ROBOT_CONFIG_ADDOBSTACLE_REQ(4350, "插入动态障碍物(机器人坐标系)", 19207),
	ROBOT_CONFIG_ADDGOBSTACLE_REQ(4351, "插入动态障碍物(世界坐标系)", 19207),
	ROBOT_CONFIG_REMOVEOBSTACLE_REQ(4352, "移除动态障碍物", 19207),
	ROBOT_CONFIG_3DTAGMAPPING_REQ(4353, "3D二维码建图", 19207),
	ROBOT_CONFIG_CLEAR_GOODSSHAPE_REQ(4356, "清除货物形状", 19207),
	ROBOT_CONFIG_SET_SHELFSHAPE_REQ(4357, "设置货架描述文件", 19207),
	ROBOT_CONFIG_SEND_CANFRAME_REQ(4400, "配置驱动器参数", 19207),
	ROBOT_CONFIG_CLEAR_ODO_REQ(4450, "运行信息复位", 19207),
	ROBOT_CONFIG_RESET_GNSS_REQ(4460, "重置 GNSS 硬件配置", 19207),
	ROBOT_CONFIG_SET_GNSS_BAUDRATE_REQ(4461, "配置 GNSS 默认波特率", 19207),
	ROBOT_CONFIG_SET_GNSS_ROVER_REQ(4462, "配置 GNSS 为 Rover 模式", 19207),
	ROBOT_CONFIG_JOYSTICK_BIND_KEYMAP_REQ(4470, "上传手柄自定义绑定事件", 19207),
	ROBOT_CONFIG_SETERROR_REQ(4800, "设置第三方 Error", 19207),
	ROBOT_CONFIG_CLEARERROR_REQ(4801, "清除第三方 Error", 19207),
	ROBOT_CONFIG_SETWARNING_REQ(4802, "设置第三方 Warning", 19207),
	ROBOT_CONFIG_CLEARWARNING_REQ(4803, "清除第三方 Warning", 19207);

	ConfigApiEnum(int apiNo, String name, int port) {
		this.apiNo = apiNo;
		this.name = name;
		this.port = port;
	}

	private final int apiNo;
	private final String name;
	private final int port;

}
